package com.andy.blog.admin.service;

import com.andy.blog.admin.dto.AlbumPhotoDTO;
import com.andy.blog.dal.vo.AlbumPhotoVO;

import java.util.List;

/**
 * Created by andy on 2024/4/2 12:26
 **/
public interface AlbumPhotoBusService {

    /**
     * 查看相册展品列表
     */
    List<AlbumPhotoDTO> selectList();

    /**
     * 获取上级相册
     */
    List<AlbumPhotoDTO> listByParent();

    /**
     * 新增
     */
    void add(AlbumPhotoVO albumPhotoVO);

    /**
     * 删除
     */
    void deleteById(Long id);

    /**
     * 修改
     */
    void updateById(AlbumPhotoVO albumPhotoVO);

    /**
     * 查询明细
     */
    AlbumPhotoDTO selectById(Long id);
}
